
#ifndef ISUBJECT_H_
#define ISUBJECT_H_

#include "IObserver.h"
#include <string>

using namespace std;

class ISubject
{
    public:
        virtual ~ISubject();

    public:
        virtual bool attach(IObserver* theObserver) = 0;
        virtual void detach(IObserver* theObserver) = 0;
        
		virtual int getData() = 0;
		virtual void setData(int theData) = 0;

};


#endif
